<?php
declare (strict_types = 1);

namespace app\admin\subscribe;

use app\admin\event\SendMessageEvent;
use think\Event;

class SendMessageSubscribe
{
    //绑定订阅事件函数
    public function subscribe(Event $event)
    {
        $event->listen('send_message', [SendMessageEvent::class,'sendMessage']);
    }
}
